package com.ruoyi.web.controller.noauth;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.core.domain.AjaxResult;

import java.util.HashMap;
import java.util.Map;

/**
 * 图片测试接口
 * 
 * @author ruoyi
 */
@RestController
@RequestMapping("/noAuth/test")
public class ImageTestController
{
    /**
     * 获取测试图片数据
     */
    @GetMapping("/image")
    public AjaxResult getTestImage()
    {
        Map<String, Object> data = new HashMap<>();
        data.put("image", "https://ts1.tc.mm.bing.net/th/id/OIP-C.07Vt4cBWJO_YTeSMGVrlGAHaE8?r=0&rs=1&pid=ImgDetMain&o=7&rm=3");
        return AjaxResult.success(data);
    }
}